package com.bigShen.pattern.observer.mouse;

import com.bigShen.pattern.observer.event.Event;

/**
 * @author : lei.shen
 * @date : 2018/10/7
 */
public class MouseServiceCallBack {

    public void click(Event event) {

        System.out.println("Listener 监听到鼠标单击事件 " + event);
    }

    public void dbClick(Event event) {

        System.out.println("Listener 监听到鼠标双击事件 " + event);
    }

    public void up(Event event) {

        System.out.println("Listener 监听到鼠标弹起事件!" + event);
    }

    public void down(Event event) {

        System.out.println("Listener 监听到鼠标按下事件!" + event);
    }

}
